package org.lmj.dos.web.resultdo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.lmj.dos.common.pojo.AddressEntity;
import org.lmj.dos.common.pojo.ProductEntity;

import java.util.Date;
import java.util.List;

@Data
public class OrderPayVo {
    private Integer id;

    private  Double payment;

    private String orderNo;

    private Integer postage;

    private Integer status;

    private Integer addressId;

    private Date sendTime;

    private Date endTime;

    private Date closeTime;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;

    AddressEntity addressEntity;
    List<ProductEntity>productEntities;
}
